package com.netease.qa.biz.service;

import java.util.Map;

/**
 * @author zoudongdong
 * @date 2018/3/9
 * 执行引擎
 */
public interface EngineService {

    public Map<String,String> doGetMethod(String url,
                              Map<String, Object> headers,
                              Map<String, Object> params);

    public Map<String,String> doGetMethodAndValidateJsonPath(String url,
                                                 Map<String, Object> headers,
                                                 Map<String, Object> params,
                                                 String jsonPathCheckPoint);

    public Map<String,String> doPostMethod(String url,
                               Map<String, Object> headers,
                               String bodyJson);

    public Map<String,String> doPostMethodAndValidateJsonPath(String url,
                                                             Map<String, Object> headers,
                                                             String bodyJson,
                                                             String jsonPathCheckPoint);
}
